package com.gg.fmallspringboot.service;

import com.gg.fmallspringboot.entity.ShoppingCart;
import com.gg.fmallspringboot.model.Result;

import java.util.List;

/**
 * 购物车CarService
 */
public interface CarService {


    public List<ShoppingCart> carList();

    /**
     * 提交订单中的购物车信息
     */
    public Result getOrderCar(String carIds,Integer userId);

    Result getOneByCartId(String CartId);

    Result update(ShoppingCart shoppingCart);

    int deleteCar(String carIds);

}
